package dwz.business.menu;

import java.util.List;
import dwz.framework.sys.business.BusinessObjectServiceMgr;
import dwz.framework.sys.exception.ServiceException;
import dwz.persistence.BaseConditionVO;
import dwz.persistence.beans.WechatMenu;

public interface MenuServiceMgr extends BusinessObjectServiceMgr {
	String SERVICE_NAME = "menuServiceMgr";
	public List<Menu> searchMenu(BaseConditionVO vo);
	public Integer searchUserNum(BaseConditionVO vo);
	public List<Menu> findMenuByParentCode(String parentCode);
	public Menu getMenu(int id);
	public WechatMenu getMenuByKeyName(String keyName);
	public void updateMenu(Menu menu);
	public void addMenu(Menu menu)throws ServiceException;
	public void addSecondMenu(Menu menu)throws ServiceException;
	public void updateMenuStatus(int menuId, String string);
	public Boolean isExistMenuKey(String keyName)throws ServiceException;
}
